package com.weigang.druid;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan(basePackages = {"com.weigang.druid.mapper"})
public class DruidApplication {

    public static void main(String[] args) {
        SpringApplication.run(DruidApplication.class,args);

        System.out.println("-------------------------------------------------------\n");
        System.out.println("查看 Druid 监控页面: http://localhost:8080/druid/"+"\n");
        System.out.println("-------------------------------------------------------\n");
    }
}
